import os

baseUrl = input("Please input you baseUrl:\n")
for root, dirs, files in os.walk("./", topdown=False):
    for name in files:         
        if(name[-3:] == "png"):
            imageUrl = name[0:-3]+"jpg"
            #判断文件是否是图片，因为当前文件夹中存有当前程序文件
            print(os.path.join(baseUrl, imageUrl))
